package com.jiangchuang.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jiangchuang.domain.entity.WxsecurityTrace;
import com.jiangchuang.domain.response.GetUnCheckedImgRes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Author: jmk
 * @Date: 2024/8/5 22:24
 */
public interface WxsecurityTraceMapper extends BaseMapper<WxsecurityTrace> {
    @Select("select id,img_url, openid, create_time from wxsecurity_trace")
    List<GetUnCheckedImgRes> getUnCheckedImg();

    @Select("select id, img_url from wxsecurity_trace limit #{num}")
    List<WxsecurityTrace> getList(int num);
}
